package com.up.upzl.biz.service;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.Repository;

import com.up.upzl.biz.domain.PaiDianRecord;

public interface paiDianRecordRepositorys extends Repository<PaiDianRecord, Long>, JpaRepository<PaiDianRecord, Long> {

	List<PaiDianRecord> findByPhoneAndStatus(String phone, PaiDianRecord.Status status);

	List<PaiDianRecord> findByPhoneAndStatusOrderByIdDesc(String phone, PaiDianRecord.Status status);

	List<PaiDianRecord> findByipone(String ipone);
}
